package com.example.brushtesting;

import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.drawable.ShapeDrawable;

public class Shapes {
	private Path mPath;
	private ShapeDrawable mShapeDrawable;
	private Paint mPaint;
	private int mShapeType;
	
	public static final int TYPE_PATH = 1;
	public static final int TYPE_SHAPE = 2;
	
	public Shapes(Path path, Paint paint){
		this.mPath = path;
		this.mPaint = paint;
		this.mShapeType = TYPE_PATH;
	}
	public Shapes(ShapeDrawable sd, Paint paint){
		this.mShapeDrawable = sd;
		this.mPaint = paint;
		this.mShapeType = TYPE_SHAPE;
	}
	public Path getPath() {
		return mPath;
	}
	public ShapeDrawable getShapeDrawable() {
		return mShapeDrawable;
	}
	public Paint getPaint() {
		return mPaint;
	}
	public int getShapeType() {
		return mShapeType;
	}
}
